home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000112_conklin@kaleida.com_Fri Dec 10 06:17:25 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  1KB

  1. Received: from eng (ngai.kaleida.com) by cs.umb.edu with SMTP id AA06969
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sat, 11 Dec 1993 07:06:04 -0500
  3. Received: by eng (4.1/SMI-4.1)
  4.     id AA01718; Fri, 10 Dec 93 14:17:25 PST
  5. Date: Fri, 10 Dec 93 14:17:25 PST
  6. From: conklin@kaleida.com (J.T. Conklin)
  7. Message-Id: <9312102217.AA01718@eng>
  8. To: tex-k@cs.umb.edu
  9. Subject: Bug in dvipsk-5.521a's & xdvi-1.4's xputenv()
  10. Reply-To: conklin@kaleida.com
  11.  
  12. On BSD Net/2 derrived systems (like 386BSD & NetBSD), putenv() "does
  13. the right thing" with regards to storing the same environment variable
  14. multiple times.  I know that this behavior is not traditional.  But it
  15. is a lot more convienent.
  16.  
  17. The Net/2 putenv() causes problems with xputenv(), as it tries to
  18. manage the environment too.  Both dvipsk & xdvik dump core.  
  19.  
  20. I replaced the contents of xputenv() with a single call to setenv(var,
  21. val, 1), as it does the exact same thing on NetBSD.  I don't know how
  22. you could get autoconf/configure to recognize this automatically.
  23. There are probably other systems with setenv() that do not have the
  24. same API.
  25.  
  26.     --jtc